/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.chipchip.database.objects;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 *
 * @author Tri
 */
@Document(collection = "Obstacle")
public class DOObstacle {
    // static variables
    public static final String KEY_ID = "OID";
    public static final String KEY_NAME = "name";
    public static final String KEY_DES = "des";
    public static final String KEY_IMG_URL = "imageURL";
    
    private String OID;
    public String name;
    public String desc;
    public String imageURL;
    
    
    public DOObstacle(String OID, String name ,String desc, String imageURL) {
        this.OID = OID;
        this.desc = desc;
        this.imageURL = imageURL;
        this.name = name;
    }
    
    public String getID() {
        return this.OID;
    }
}
